package xin.yangshuai.basic01.gof23.adapter.impl;

import xin.yangshuai.basic01.gof23.adapter.VgaMonitor;

public class MyVgaMonitor implements VgaMonitor {

    private String showInfo;

    @Override
    public void setShowInfo(String showInfo) {
        this.showInfo = showInfo;
    }

    @Override
    public String display() {
        System.out.println("通过当前设备：vga显示器");
        return showInfo;
    }
}
